import { createRouter, createWebHistory } from 'vue-router'

// import { createRouter, createWebHistory } from "vue-router"
const routes = [
    {
        path: '/',
        name: 'helloworld',
        component: () => import('../components/HelloWorld.vue')
    },
    // {
    //     path: '/cart',
    //     name: 'cart',
    //     component: () => import('../view/about.vue')
    // },
    // {
    //     path: '/order',
    //     name: 'order',
    //     component: () => import('../view/about.vue')
    // }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router